package com.bbcare.followup.plat.service;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.bbcare.comm.ResultModel;
import com.bbcare.followup.plat.entity.PatientQueueScheme;

/*
 * @name:         查询绑定卡信息服务类接口
 * @createTime:   2017.5.16
 * @description:  查询患者信息和绑定卡信息
 * @modify:
 * @author:        wuyz
 * 
 */
public interface IPatientqueryCardService {
    // 查询通过微信id查询患者id
    ResultModel<HashMap<String, Object>> querypatientid(Map<String, Object> paramMap) throws Exception;
    //通过患者id查询绑定卡信息 
    List<Map<String, Object>> querycardId(Map<String, Object> paramMap) throws Exception;
    ResultModel<HashMap<String, Object>> addsendPromptSms_tx(String phoneNo,String smsType,String smsContent) throws Exception;
    public HashMap<String, Object> addsendPromptSmsImpl(String phoneNo, String smsType, String smsContent, Map<String, Object> qryPqsMap) throws Exception;
	int checkVerifyCode(String phoneNo, String verifyCode, String smsType,String type,String wechat_id) throws Exception;
	int checkVerifyCodeLh(String phoneNo, String verifyCode, String smsType,String type,String wechat_id) throws Exception;
	List<Map<String, Object>> getcardInfo(HashMap<String, Object> servParamMap)throws Exception;
	List<PatientQueueScheme> listSchemeInfo(HashMap<String, Object> qryPqsMap) throws Exception;
	Map<String, Object> getPatientinfoByphone(HashMap<String, Object> listretMap)throws Exception;
	void updateWechatId(HashMap<String, Object> qryPqsMap)throws Exception;
	Map<String, Object> selectByIdALL(Map<String, Object> map) throws Exception;
	Map<String, Object> selectUserIdByPhoneNo(Map<String, Object> servParamMap)throws Exception;
	List<Map<String, Object>> selectTotle(HashMap<String, Object> qryPqsMap) throws Exception;
	//月度评估事物提交
	Map<String, Object> registerMonthCommit(Map<String, Object> qryPqsMap) throws Exception;
	
	 /*
     * @name:查询门诊随访逻辑层
     * @description:查询门诊随访信息，当前患者还有需要进行几次随访
     * @author: wuyz
     * @date: 2017-07-07
     * @version: 1.0
     * @param invokeType	:类型 	<br />
     * 		  departmentId	：科室id  <br />
     * 		  queueId		：队列id  <br />
     * 		  patientId		：患者id  <br />
     * 		  type			：问卷类型  0：门诊问卷随访 ；1：线上问卷随访
     * 
     * @return map
     * 
     **/
	Map<String, Object> selectPtOnlineTaskInfo(Map<String, Object> map)throws Exception;
	
	/*
	 *@name : 预约公共接口 
	 *@deprecated ：获取科室预约接口，获取专家预约信息，获取预约资源模板，提交预约，取消预约
	 * 
	 **/
	List<Map<String, Object>> orderCommonInfo(Map<String, Object> qryPqsMap,Map<String, Object> MapIn,int i) throws Exception;
	
	/*
	 *@name : 更新实例化任务id接口 
	 *@deprecated ：更新用户实例化任务id接口pt_task_info
	 * 
	 **/
	Map<String, Object> UpdateTaskInfo(HashMap<String, Object> servParamMap) throws Exception;
	
	/*
	 *@name :查询用户接口
	 *@deprecated ：查询用户接口
	 * 
	 **/
	Map<String, Object> queryAllpatientList(Map<String, Object> paramMap)throws Exception;
	
	/*
	 *@name : 推送公共接口 
	 *@deprecated ：推送患者清单，儿保门诊指导意见列表，儿保门诊指导意见详情
	 * 
	 **/
	Object pushCommonInfo(Map<String, Object> retMap, Map<String, Object> mapIn, int i)throws Exception;
	/*
	 *@name : 更改用户号码信息接口
	 *@deprecated ：跟新用户号码信息
	 * 
	 **/
	Map<String, Object> ModifyUserPhoneNo(Map<String, Object> paramMap)throws Exception;
	Map<String, Object> queryUserMassage(Map<String, Object> paramMap) throws Exception;
	Map<String, Object> queryBaby(Map<String, Object> paramMap) throws Exception;
	Map<String, Object> unbindWomenBaby(Map<String, Object> paramMap) throws Exception;
	Map<String, Object> bindWomenBaby(Map<String, Object> paramMap) throws Exception;
	//卵巢早衰查询用户建档问卷接口
	Map<String, Object> getPatientAddQuestion(Map<String, Object> paramMap) throws Exception;
	Map<String, Object> queryUserByScientific(HashMap<String, Object> qryPqsMap) throws Exception;
}
